#include "DataSourceManager.h"

namespace etu {
namespace db {

DataSource* DataSourceManager::dataSource = NULL;

DataSource* DataSourceManager::getDataSource() {
    return dataSource;
}

void DataSourceManager::setDataSource(DataSource* _dataSource) {
    
    if(_dataSource != NULL) {
        dataSource = _dataSource;
    }
}

}
}
